#!/bin/bash 
rm -rf install-*
version=$1
name=$(cat /dev/urandom | head -n 10 | md5sum | cut -c 1-10)
tar --exclude=deploy/redis --exclude=deploy/ssl --exclude=deploy/logs --exclude=deploy/static --exclude=deploy/mysql/data --exclude=deploy/mysql/logs -cpvzf install-${version}-${name}.tar.gz deploy
